<div class="row">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title  am-cf">资源处理</div>
            </div>
            <div class="widget-body  am-fr">
            	<form class="am-form tpl-form-line-form" data-am-validator id="formDoSubmit" reback="/resource/index">
                  <input type="hidden" name="Id" id="Id" value="{{.m.Id}}">
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">资源名称：</label>
                      <div class="am-u-sm-9">
                      	<input name="Name" type="text" id="doc-vld-email-2-1"  placeholder="长度不超过32" value="{{.m.Name}}" required/>
                        <small>长度不超过32。</small>
                      </div>
                  </div>
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">资源父节点：</label>
                      <div class="am-u-sm-9">
                      	<select data-am-selected="{searchBox: 1, maxHeight:'500px'}" name="Parent" id="Parent"  style="display: none;"></select>
                      </div>
                  </div>
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">资源类型：</label>
                      <div class="am-u-sm-9">
                        <select name="Rtype" id="Rtype" data-am-selected>
                            <option value="1">菜单</option>
                            <option value="2">按钮</option>
                            <option value="0">标题</option>
                        </select>
                      </div>
                  </div>
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">资源图标：</label>
                      <div class="am-u-sm-9">
                        <input type="text" name="Icon" placeholder="长度不超过32" value="{{.m.Icon}}">
                      </div>
                  </div>
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">UrlFor <span class="tpl-form-line-small-title">系统路由</span>：</label>
                      <div class="am-u-sm-9">
                        <input type="text" id="UrlFor" name="UrlFor" placeholder="如：resource/edit" value="{{.m.UrlFor}}">
                      </div>
                  </div>
                  <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label">顺序 <span class="tpl-form-line-small-title">非负整数</span>：</label>
                      <div class="am-u-sm-9">
                         <input type="number" name="Seq" placeholder="非负整数" value="{{.m.Seq}}">
                      </div>
                  </div>
                  
                 <div class="am-form-group">
                      <label class="am-u-sm-3 am-form-label"></label>
                      <div class="am-u-sm-9">
                      	<button class="am-btn am-btn-secondary" type="submit">确认提交</button>
                        <button class="am-btn am-btn-default" type="reset">重置</button>
                      </div>
                  </div>
                </form>
            </div>
        </div>
    </div>
</div>